package cn.edu.guet.service.postlist.impl;

import cn.edu.guet.bean.postlist.Zmpost;
import cn.edu.guet.mapper.postlist.ZmpostMapper;
import cn.edu.guet.service.postlist.IZmpostService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.autoconfigure.data.web.SpringDataWebProperties;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ZmpostServiceImpl implements IZmpostService {

    @Autowired
    private ZmpostMapper zmpostMapper;

    @Override
    public List<Zmpost> zuiretiezi(String ptitle,String ptype) {
        return zmpostMapper.zuiretiezi(ptitle, ptype);
    }

    @Override
    public List<Zmpost> zuixinfabiao(String ptitle,String ptype) {
        return zmpostMapper.zuixinfabiao(ptitle, ptype);
    }

    @Override
    public List<Zmpost> zuzhizuire(String gid) {

        return zmpostMapper.zuzhizuire(gid);
    }



    @Override
    public List<Zmpost> zuzhizuixin(String gid) {
        return zmpostMapper.zuzhizuixin(gid);
    }



    @Override
    public List<Zmpost> dgroupList() {
        return zmpostMapper.dgroupList();
    }

    @Override
    public List<Zmpost> viewone() {
        return zmpostMapper.viewone();
    }

    @Override
    public List<Zmpost> viewtwo() {
        return zmpostMapper.viewtwo();
    }


}
